package com.qf.dao;

import com.qf.entitys.MenuItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuItemMapper {
    int deleteByPrimaryKey(Integer mid);

    int insert(MenuItem record);

    int insertSelective(MenuItem record);

    MenuItem selectByPrimaryKey(Integer mid);

    int updateByPrimaryKeySelective(MenuItem record);

    int updateByPrimaryKeyWithBLOBs(MenuItem record);

    int updateByPrimaryKey(MenuItem record);

    List<MenuItem> selectAll(MenuItem record);

    int updatePutByMid(@Param("mid")Integer mid,@Param("putshelves")Integer putshelves);

    List<MenuItem> selectByBid(Integer bid);
}